package com.chapter01exercise.homework09;

/**
 * @Author 小闽
 * @Date 2024/8/17 17:21
 * @PackageName: com.chapter01exercise.homework09
 * @ClassName: Point
 * @Description: 父类
 * @Version 1.0
 */
public class Point {
    private int x;
    private double y;

    /**
     * 构造器
     * @param x
     * @param y
     */
    public Point(int x, double y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}
